We want to effectively bind the "Windows key" on PC hardware to hide
and show the overlay.
svn path=/trunk/; revision=120
overlay = new Overlay.Overlay();
wm = new WindowManager.WindowManager();
+
+ let display = global.screen.get_display();
+ display.connect('overlay-key', function(display) {
+ if (overlay.visible) {
+ hide_overlay();
+ } else {
+ show_overlay();
+ }
+ });
}
// Used to go into a mode where all keyboard and mouse input goes to